package com.taojie.graduation.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "store")
public class Store {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 店铺名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 拥有者id
     */
    @TableField(value = "owner")
    private String owner;

    /**
     * 店铺类型
     */
    @TableField(value = "type")
    private String type;

    /**
     * 商品数量
     */
    @TableField(value = "product")
    private Integer product;

    /**
     * 店铺介绍
     */
    @TableField(value = "introduce")
    private String introduce;

    /**
     * 发货地址
     */
    @TableField(value = "address")
    private String address;
}